package com.roads.plan.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.roads.common.core.domain.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 形象进度总体计划明细表 plan_profile_overall_detail
 *
 * @author nhp
 * @date 2024-01-31
 */
public class PlanProfileOverallDetail extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 自增主键
     */
    private Integer id;

    /**
     * 主表ID
     */
    private Integer masterId;

    /**
     * 清单编码
     */
    private String boqCode;

    /**
     * 标段清单编码
     */
    private String institutionBoqCode;

    /**
     * 清单名称
     */
    private String boqName;

    /**
     * 上级编号
     */
    private String parentCode;

    /**
     * 祖籍列表
     */
    private String ancestors;

    /**
     * 显示排序
     */
    private Double orderNum;

    /**
     * 级别
     */
    private Integer level;

    /**
     * 是否叶子结点（0否 1是）
     */
    private String leafNode;

    /**
     * 单位
     */
    private String unit;

    /**
     * 数量
     */
    private BigDecimal amount;

    /**
     * 金额
     */
    private BigDecimal total;

    /**
     * 开始日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date startDate;
    /**
     * 截止日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date endDate;
    /**
     * 持续时间
     */
    private Integer duration;

    /**
     * 是否修改 0 未修改 1 已修改
     */
    private String isEdit;

    /**
     * 部门
     */
    private Long dept;

    /**
     * 部门名称
     */
    private String deptName;

    /**
     * 用户
     */
    private String user;

    /**
     * 用户名称
     */
    private String userName;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getMasterId() {
        return masterId;
    }

    public void setMasterId(Integer masterId) {
        this.masterId = masterId;
    }

    public String getBoqCode() {
        return boqCode;
    }

    public void setBoqCode(String boqCode) {
        this.boqCode = boqCode;
    }

    public String getInstitutionBoqCode() {
        return institutionBoqCode;
    }

    public void setInstitutionBoqCode(String institutionBoqCode) {
        this.institutionBoqCode = institutionBoqCode;
    }

    public String getBoqName() {
        return boqName;
    }

    public void setBoqName(String boqName) {
        this.boqName = boqName;
    }

    public String getParentCode() {
        return parentCode;
    }

    public void setParentCode(String parentCode) {
        this.parentCode = parentCode;
    }

    public String getAncestors() {
        return ancestors;
    }

    public void setAncestors(String ancestors) {
        this.ancestors = ancestors;
    }

    public Double getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(Double orderNum) {
        this.orderNum = orderNum;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public String getLeafNode() {
        return leafNode;
    }

    public void setLeafNode(String leafNode) {
        this.leafNode = leafNode;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public BigDecimal getTotal() {
        return total;
    }

    public void setTotal(BigDecimal total) {
        this.total = total;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public Integer getDuration() {
        return duration;
    }

    public void setDuration(Integer duration) {
        this.duration = duration;
    }

    public String getIsEdit() {
        return isEdit;
    }

    public void setIsEdit(String isEdit) {
        this.isEdit = isEdit;
    }

    public Long getDept() {
        return dept;
    }

    public void setDept(Long dept) {
        this.dept = dept;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }
}
